﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Param_list.aspx.cs" Inherits="TRPOP.CMS.Web.Admin.Param_list" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>系统参数-<%=base.m_strBaseAdminPageName%></title>
    <script  src="../../js/utils.js" type="text/javascript"></script>
</head>
<body>
<form id="form1" runat="server">
<table class="table_list">
  <caption><%=m_strTitle%></caption>
    <tbody>
        <tr align="center">
            <th  class="rptlistContyrol"><strong>选中</strong></th>
            <th class="rptlistTitle">
        	    <strong>
            	    参数名
                </strong>
            </th>
            <th ><strong>参数关键字</strong></th>  
            <th class="rptlistContent"><strong>参数值</strong></th>
            <th ><strong>操作</strong></th>
        </tr>
        <cms:Repeater ID="rptList" runat="server" >
	        <ItemTemplate>
	        <tr class="">
                <td class="align_c"><input id="delid" type="checkbox" value="<%#Eval("VarKey")%>" name="delid"/></td>
                <td class="align_c" align="center"><%# Eval("VarName")%></td>
                <td class="align_c"><%# Eval("VarKey")%></td>
                <td class="align_c"><%# Eval("VarValue")%></td>
                <td class="align_c">
                  	     <a  href="javascript:show_dialog('Param_save.aspx?cid=<%=m_cid%>&VarKey=<%#Eval("VarKey")%>',500,280);">修改</a>
         		         | 
                         <cms:LinkButton ID ="lbtnDelete" runat="server" Text ="删除" OnClick ="lbtnDelete_Click" CommandArgument='<%#Eval("VarKey") %>' OnClientClick="return confirm('你确定要删除变量吗？');"></cms:LinkButton>

                 </td>
            </tr>
	        </ItemTemplate>
	   </cms:Repeater>
    </tbody>
</table>

<div class="button_box">
    <input name="button2" class="button_style" id="chkall" onclick="SelectAll(this.form)" value="全选" type="button">
    <input name="button2" class="button_style" id="Button1" onclick="UnSelectAll(this.form)" value="取消" type="button">
    <cms:Button ID="btnSubmit" CssClass="button_style"  runat="server" Text="删除"     onclick="btnSubmit_Click"  />
	<input name="AddNew"  class="button_style" id="AddNew" onclick="show_dialog('Param_save.aspx?cid=<%=m_cid%>',500,280);" value="新增" type="button">
	
</div>

</form>
</body>
</html>
